#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
char delchar(char*s,char c)
{
	for (int i = 0; i <= strlen(s);i++)
	{
		if (s[i] != c)
		{
			printf("%c", s[i]);

		}
	}
	return 0;
}
int main()
{
	char s[80], c;
	gets_s(s);
	scanf("%c", &c);
	delchar(s, c);
	return 0;
}
